package com.fz.us.admin.dict.entity;

import com.fz.us.admin.base.entity.parent.NameEntity;

import javax.persistence.AttributeOverride;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 实体类 - 字典 item 自定义名称
 * ============================================================================
 * 版权所有 2016 。
 *
 * @author fallenpanda
 * @version 1.0 2016-07-14 。
 * ============================================================================
 */
@Entity
@Table(name="sys_dictitemsetting")
@AttributeOverride(name = "name", column = @Column(name = "name"))
public class DictItemSetting extends NameEntity {

    private static final long serialVersionUID = 1631924640879356292L;

    public DictItemSetting() {
    }

    public DictItemSetting(String keyId, String dictId, String name) {
        this.keyId = keyId;
        this.dictId = dictId;
        this.name = name;
    }

    /**
     * 关联Id
     */
    private String keyId;
    /**
     * 系统字典对应的Id
     */
    private String dictId;

    public String getKeyId() {
        return keyId;
    }

    public void setKeyId(String keyId) {
        this.keyId = keyId;
    }

    public String getDictId() {
        return dictId;
    }

    public void setDictId(String dictId) {
        this.dictId = dictId;
    }

}
